package org.example.cake.service;

import org.example.cake.entity.Paycakeid;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface PaycakeidSercice {
    Integer insertAddcakeid(Paycakeid paycakeid);
    /**
     * 查询订单总数
     * @param paycakeid
     * @return
     */
    Integer selectpaycount(Paycakeid paycakeid);

    /**
     * 获取蛋糕id
     * @Date 2025-08-04 谭丽那
     * @param payid
     * @return
     */
    List<Integer> selectByckaeid(Integer payid);

    /**
     * 根据payid查询蛋糕总数
     * @param payid
     * @return
     */
    Integer getcakecount(Integer payid);
}
